package com.twb.auth.entity.twbOrganization.vo;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName SaveTwbOrganizationVo
 * @Description /sys/twbOrganization/save 入参对象
 * @author DSY
 * @date 2018年11月15日 上午10:58:10
 */
@ApiModel(value = "SaveTwbOrganizationVo", description = "/sys/twbOrganization/save 入参对象")
public class SaveTwbOrganizationVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 父级编码
	 */
	private String parentOrgId;

	/** 租户ID */
	@ApiModelProperty(value = "租户ID")
	private String tenantId;

	/** 查询KEY */
	@ApiModelProperty(value = "查询KEY")
	private String searchKey;
	/**
	 * 机构编码
	 */
	@ApiModelProperty(value = "机构编码")
	@NotBlank
	private String code;

	/**
	 * 机构名称
	 */
	@NotBlank
	private String name;

	/**
	 * 机构图标
	 */
	private String iconCls;

	/**
	 * 机构地址
	 */
	private String address;

	/**
	 * 顺序
	 */
	private Integer orgSeq;

	/**
	 * 机构类型
	 */
	private String orgType;

	public String getParentOrgId() {
		return parentOrgId;
	}

	public void setParentOrgId(String parentOrgId) {
		this.parentOrgId = parentOrgId;
	}

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	/** 查询KEY */
	public String getSearchKey() {
		return searchKey;
	}

	/** 查询KEY */
	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getOrgSeq() {
		return orgSeq;
	}

	public void setOrgSeq(Integer orgSeq) {
		this.orgSeq = orgSeq;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}
}
